package com.yueshop.aliyunoss.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {

    public static final String FORMAT_STRING = "yyyy-MM-dd";
    private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat(FORMAT_STRING);

    public static String getFormatDateString(Date date) {
        return simpleDateFormat.format(date);
    }

}
